<?php
/**
 * Author: ngreduce
 * Date: 05.03.11
 * Time: 14:05
 */

foreach($requests as $request): ?>
<div class="comment" id="c<?php echo $request->id; ?>">

	<?php echo CHtml::link("#{$request->id}", $request->getUrl($job), array(
		'class'=>'cid',
		'title'=>Yii::t('mj-base', 'Permalink to this comment'),
	)); ?>

	<div class="author">
		<?php echo Yii::t('mj-base', '{author} says', array('{author}'=>$request->authorLink)); ?>
	</div>

	<div class="time">
		<?php echo Yii::app()->dateFormatter->format("M MMMM yyyy \t HH:mm:ss",$request->create_time); ?>
	</div>

	<div class="content">
		<?php echo nl2br(CHtml::encode($request->content)); ?>
	</div>

</div><!-- request -->
<?php endforeach; ?>
 
